# -*- coding: utf-8 -*-
"""
main
2025/9/9
@author: zhangzida
"""
import pytest
from Page import Page
from selenium import webdriver
@pytest.fixture(scope='function')
def driver():
    driver=webdriver.Chrome()
    driver.implicitly_wait(10)
    driver.maximize_window()
    yield driver
    driver.close()

def test_baidu(driver):
    po=Page(driver)
    po.luoji_baidu()
